package me.hunche.app.domain;

import java.io.Serializable;
import java.sql.Time;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.feinno.framework.common.domain.AbstractEntity;




@Entity
@Table(name="t_sms")
public class SMS  extends AbstractEntity  implements Serializable{
	
	/** 上行  */
	public static final int TYPE_MO = 1;
	/** 下行 */
	public static final int TYPE_MT = 2;

	@Id 
    @GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	public SMS(String mobile, String content, Integer type, Date time) {
		super();
		this.mobile = mobile;
		this.content = content;
		this.type = type;
		this.time = time;
	}
	private String mobile;
	private String content;
	private Integer type;
	private Date time;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	
}
